package com.ruoyi.pims.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * ABC分类结果对象 ry_abc_result
 * 
 * @author ruoyi
 * @date 2025-06-18
 */
public class RyAbcResult extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 结果ID */
    private Long resultId;

    /** 关联标准ID */
    @Excel(name = "关联标准ID")
    private Long criteriaId;

    /** 物料编码 */
    @Excel(name = "物料编码")
    private String itemCode;

    /** 物料名称 */
    @Excel(name = "物料名称")
    private String itemName;

    /** 累计占比 */
    @Excel(name = "累计占比")
    private BigDecimal cumulativeRate;

    /** 分类等级 */
    @Excel(name = "分类等级")
    private String abcClass;

    /** 管理策略 */
    @Excel(name = "管理策略")
    private String managementStrategy;

    public void setResultId(Long resultId) 
    {
        this.resultId = resultId;
    }

    public Long getResultId() 
    {
        return resultId;
    }

    public void setCriteriaId(Long criteriaId) 
    {
        this.criteriaId = criteriaId;
    }

    public Long getCriteriaId() 
    {
        return criteriaId;
    }

    public void setItemCode(String itemCode) 
    {
        this.itemCode = itemCode;
    }

    public String getItemCode() 
    {
        return itemCode;
    }

    public void setItemName(String itemName) 
    {
        this.itemName = itemName;
    }

    public String getItemName() 
    {
        return itemName;
    }

    public void setCumulativeRate(BigDecimal cumulativeRate) 
    {
        this.cumulativeRate = cumulativeRate;
    }

    public BigDecimal getCumulativeRate() 
    {
        return cumulativeRate;
    }

    public void setAbcClass(String abcClass) 
    {
        this.abcClass = abcClass;
    }

    public String getAbcClass() 
    {
        return abcClass;
    }

    public void setManagementStrategy(String managementStrategy) 
    {
        this.managementStrategy = managementStrategy;
    }

    public String getManagementStrategy() 
    {
        return managementStrategy;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("resultId", getResultId())
            .append("criteriaId", getCriteriaId())
            .append("itemCode", getItemCode())
            .append("itemName", getItemName())
            .append("cumulativeRate", getCumulativeRate())
            .append("abcClass", getAbcClass())
            .append("managementStrategy", getManagementStrategy())
            .toString();
    }
}
